import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '@/views/LoginView.vue'
import PositionBrowsing from '@/views/PositionView.vue'
import JobDetails from '@/views/JobDetailsView.vue'
import CompanyInfo from '@/views/CompanyInfoView.vue'
import CheckResumes from '@/views/CheckResumesView.vue'
import ResumeInfo from '@/views/ResumeInfoView.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login

  },
  {
    path: '/PositionBrowsing',
    name: 'PositionBrowsing',
    component: PositionBrowsing
  },
  {
    path: '/JobDetails',
    name: 'JobDetails',
    component: JobDetails
  },
  {
    path:'/CompanyInfo',
    name:'CompanyInfo',
    component:CompanyInfo
  },
  {
    path:'/CheckResumes',
    name:'CheckResumes',
    component:CheckResumes
  },
  {
    path:'/ResumeInfo',
    name:'ResumeInfo',
    component:ResumeInfo
  }

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
